﻿using System;
namespace Chenxin.Lib.House.Entity
{
    /// <summary>
    /// 实体类House_EntrustInfo 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class House_EntrustInfo
    {
        public House_EntrustInfo()
        { }
        #region Model
        private Guid _entrustid;
        private Guid _cityid;
        private Guid _houseid;
        private string _housecode;
        private string _houseaddress;
        private string _entrustcode;
        private bool _hasapply;
        private Guid _employeeid;
        private string _employee;
        private Guid _empdepartid;
        private string _empdepart;
        private string _propertycode;
        private DateTime? _inputtime;
        private string _memo;
        private DateTime? _starttime;
        private DateTime? _endtime;
        private Guid _operatorid;
        private string _operator;
        private Guid _optdepartid;
        private string _optdepart;
        private Guid _customerid;
        private string _customername;
        private string _phone;
        private string _mobile;
        private string _customeraddress;
        private string _nationality;
        private string _addresszip;
        private string _contacttype;
        private string _district;
        private decimal? _unitprice;
        private decimal? _totalprice;
        private decimal? _rentprice;
        private decimal? _area;
        private string _entrusttype;
        private int? _status;
        private string _type;

        public Guid OptCompanyId
        {
            get;
            set;
        }

        public string OptCompany
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid EntrustId
        {
            set { _entrustid = value; }
            get { return _entrustid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid CityId
        {
            set { _cityid = value; }
            get { return _cityid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid HouseId
        {
            set { _houseid = value; }
            get { return _houseid; }
        }
        /// <summary>
        /// 房源编号
        /// </summary>
        public string HouseCode
        {
            set { _housecode = value; }
            get { return _housecode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string HouseAddress
        {
            set { _houseaddress = value; }
            get { return _houseaddress; }
        }
        /// <summary>
        /// 委托号
        /// </summary>
        public string EntrustCode
        {
            set { _entrustcode = value; }
            get { return _entrustcode; }
        }
        /// <summary>
        /// 是否已经做过业绩申请
        /// </summary>
        public bool HasApply
        {
            set { _hasapply = value; }
            get { return _hasapply; }
        }
        /// <summary>
        /// 委托业务员ID
        /// </summary>
        public Guid EmployeeId
        {
            set { _employeeid = value; }
            get { return _employeeid; }
        }
        /// <summary>
        /// 委托业务员
        /// </summary>
        public string Employee
        {
            set { _employee = value; }
            get { return _employee; }
        }
        /// <summary>
        /// 委托部门ID
        /// </summary>
        public Guid EmpDepartId
        {
            set { _empdepartid = value; }
            get { return _empdepartid; }
        }
        /// <summary>
        /// 委托门店
        /// </summary>
        public string EmpDepart
        {
            set { _empdepart = value; }
            get { return _empdepart; }
        }
        /// <summary>
        /// 产权证号
        /// </summary>
        public string PropertyCode
        {
            set { _propertycode = value; }
            get { return _propertycode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? InputTime
        {
            set { _inputtime = value; }
            get { return _inputtime; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Memo
        {
            set { _memo = value; }
            get { return _memo; }
        }
        /// <summary>
        /// 委托开始时间
        /// </summary>
        public DateTime? StartTime
        {
            set { _starttime = value; }
            get { return _starttime; }
        }
        /// <summary>
        /// 委托结束时间
        /// </summary>
        public DateTime? EndTime
        {
            set { _endtime = value; }
            get { return _endtime; }
        }
        /// <summary>
        /// 操作人ID
        /// </summary>
        public Guid OperatorId
        {
            set { _operatorid = value; }
            get { return _operatorid; }
        }
        /// <summary>
        /// 操作人
        /// </summary>
        public string Operator
        {
            set { _operator = value; }
            get { return _operator; }
        }
        /// <summary>
        /// 操作部门ID
        /// </summary>
        public Guid OptDepartId
        {
            set { _optdepartid = value; }
            get { return _optdepartid; }
        }
        /// <summary>
        /// 操作部门
        /// </summary>
        public string OptDepart
        {
            set { _optdepart = value; }
            get { return _optdepart; }
        }
        /// <summary>
        /// 委托客户ID
        /// </summary>
        public Guid CustomerId
        {
            set { _customerid = value; }
            get { return _customerid; }
        }
        /// <summary>
        /// 委托客户
        /// </summary>
        public string CustomerName
        {
            set { _customername = value; }
            get { return _customername; }
        }
        /// <summary>
        /// 电话
        /// </summary>
        public string Phone
        {
            set { _phone = value; }
            get { return _phone; }
        }
        /// <summary>
        /// 手机
        /// </summary>
        public string Mobile
        {
            set { _mobile = value; }
            get { return _mobile; }
        }
        /// <summary>
        /// 客户联系地址
        /// </summary>
        public string CustomerAddress
        {
            set { _customeraddress = value; }
            get { return _customeraddress; }
        }
        /// <summary>
        /// 客户国籍
        /// </summary>
        public string Nationality
        {
            set { _nationality = value; }
            get { return _nationality; }
        }
        /// <summary>
        /// 邮编
        /// </summary>
        public string AddressZip
        {
            set { _addresszip = value; }
            get { return _addresszip; }
        }
        /// <summary>
        /// 联系方式：读取数据字典
        /// </summary>
        public string ContactType
        {
            set { _contacttype = value; }
            get { return _contacttype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string District
        {
            set { _district = value; }
            get { return _district; }
        }
        /// <summary>
        /// 出售单价
        /// </summary>
        public decimal? UnitPrice
        {
            set { _unitprice = value; }
            get { return _unitprice; }
        }
        /// <summary>
        /// 出售总价
        /// </summary>
        public decimal? TotalPrice
        {
            set { _totalprice = value; }
            get { return _totalprice; }
        }
        /// <summary>
        /// 出租单价
        /// </summary>
        public decimal? RentPrice
        {
            set { _rentprice = value; }
            get { return _rentprice; }
        }
        /// <summary>
        /// 面积
        /// </summary>
        public decimal? Area
        {
            set { _area = value; }
            get { return _area; }
        }
        /// <summary>
        /// 委托类型：出租；出售
        /// </summary>
        public string EntrustType
        {
            set { _entrusttype = value; }
            get { return _entrusttype; }
        }
        /// <summary>
        /// 状态有效：0；无效：-1
        /// </summary>
        public int? Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 委托方式：一般委托；专任委托
        /// </summary>
        public string Type
        {
            set { _type = value; }
            get { return _type; }
        }
        #endregion Model

    }
}

